//---------------------------------------------------------------------------
#ifndef HostFH
#define HostFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Mask.hpp>
#include <winsock.h>
#include <stdio.h>
#include "constants.h"
#include <ExtCtrls.hpp>

//---------------------------------------------------------------------------
class THostFrm : public TForm
{
__published:	// IDE-managed Components
        TMemo *HostMemo;
        TButton *HostStartBtn;
        TButton *HostCancelBtn;
        TTimer *Timer1;
        TEdit *MyIP;
        TLabel *Label2;
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall HostCancelBtnClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall HostStartBtnClick(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall THostFrm(TComponent* Owner);
        void CloseSocket();

};
//---------------------------------------------------------------------------
extern PACKAGE THostFrm *HostFrm;
//---------------------------------------------------------------------------
#endif
